import 'package:ayj_flutter_chat_app/common/configs/project_config.dart';
import '../../../common/third/agora/engine/agora_engine_controller.dart';

class VideoController extends GetxController {
  final Rx<bool> close = false.obs;

  @override
  void onInit() {
    super.onInit();
    AgoraEngineController.to.initEngine(ControllerType.meetingVideo);
  }

  @override
  void dispose() {
    LogUtils.e('VideoController dispose');
    super.dispose();
  }
}

class VideoBinding extends Bindings {
  @override
  void dependencies() {
    Get.lazyPut(() => VideoController());
  }
}
